After the argument, he decided to ditch her like a bad habit.
После ссоры он решил бросить её как дурную привычку.
Definitions
To abruptly or decisively end a relationship or association with someone, often because they are considered undesirable or problematic, in the same way one would try to quickly get rid of a bad habit.